<AdminTpl file="Common/Head"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <AdminTpl file="Common/Nav"/>
  <form name="myform" action="{:U('Formguide/index')}" method="post" class="J_ajaxForm">
    <div class="table_list">
      <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tableClass">
        <thead>
          <tr>
            <td width="12%" align="left">文章ID</td>
            <td  align="center">文章名称</td>
            <td  align="center">会员</td>
            <td width="35%" align="center">管理操作</td>
          </tr>
        </thead>
        <tbody>
          <volist name="list" id="vo" key="k">
            <tr>
              <td>{$vo.id}</td>
              <td align="center"><font color=blue>{$vo.title}</font></td>
              <td align="center"><font color=blue>{$vo.author}</font></td>
              <td align="center"><a href="{:U("Article/edit?id=".$vo['id'])}"> <font>修改</font></a> |
                <if condition="$vo['status'] == 1"> <a class="J_ajax_update" field="status" up_value="0" alert="确认关闭该文章吗？" href="{:U('Article/ajax_edit',array('id'=>$vo['id']))}"> <font>关闭</font> </a>
                  <else/>
                  <a class="J_ajax_update" field="status" up_value="1" alert="确认通过该文章吗？" href="{:U('Article/ajax_edit',array('id'=>$vo['id']))}"> <font>通过</font> </a> </if>
<!--           | <a class="J_ajax_del" href='{:U("Article/foreverdelete", array("id" => $vo["id"]))}'>删除</a> -->
                </td>
            </tr>
          </volist>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages">{$page}</div>
      </div>
    </div>
  </form>
</div>
<script src="/static/common/js/common.js?v"></script> 
<script src="/static/common/js/content_addtop.js"></script> 
<script>
        //调用
        function call(id) {
            omnipotent("call", GV.REAL_FILE+'?a=public_call&m=Formguide&g=Formguide&formid=' + id, "调用方式", 1, '700px', '300px');
        }
    </script>
</body>
</html>